package main;
import java.util.ArrayList;

public class DiscussionGroup {
	private ArrayList<Post> posts;
	public DiscussionGroup(Post p) {
		posts = new ArrayList<>();
		posts.add(p);
	}
	public void accept(ExplorerEntity ee) {
		ee.explore(this);
		for (Post p: posts)
			p.accept(ee);
	}
}
